package cn.shengchao.examstar.gankao.infrastrure.po;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

@Data
@TableName(value = "gk_user")
public class GkUser {
    /**
     * 自增主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 系统用户
     */
    @TableField(value = "user_id")
    private String userId;

    /**
     * 赶考用户id
     */
    @TableField(value = "gk_uid")
    private String gkUid;

    /**
     * 赶考那边绑定的手机
     */
    @TableField(value = "mobile")
    private String mobile;

    /**
     * 赶考备用id
     */
    @TableField(value = "gk_user_bak_id")
    private String gkUserBakId;

    /**
     * 是否删除0生效 1删除
     */
    @TableField(value = "deleted")
    @TableLogic(value = "0", delval = "1")
    private Integer deleted;

    /**
     * 合作用户id
     */
    @TableField(value = "partener_id")
    private String partenerId;
}